package com.example.springdemo.design_model.contrete;

/**
 * @author zhangding
 * @date
 */
public class Client {

    public static void main(String[] args) {

        // 穿件具体房子
        HightHouse hightHouse  = new HightHouse();
        // 设置房子属性
        hightHouse.house.setWall("999");
        hightHouse.house.setRoofed("888");
        // 创建指挥者
        HouseDirector houseDirector = new HouseDirector();
        // 设置具体房子
        houseDirector.setHouseBuilder(hightHouse);
        // 建造
        houseDirector.contreteHouse();
    }
}
